package com.cloud.test.ahs.cloud.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * dw
 *
 */
@EnableSwagger2
@EnableDiscoveryClient // 通过该注解，实现服务发现，注册
@SpringBootApplication
@EnableCircuitBreaker
public class AppProvider 
{
    public static void main( String[] args )
    {
    	SpringApplication.run(AppProvider.class, args);
    }
}
